package com.ricchieri.service.interf;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.ricchieri.filter.OperationFilter;
import com.ricchieri.model.Operation;

public interface IOperationService {

	@Transactional(readOnly = true)
	public List<Operation> getAllOperations();

	public void addOperation(Operation operation);
	
	public List<Operation> getAllOperationPaginatedByFilter(OperationFilter operationFilter, int startRecord);

	public int getAllOperationCountByFilter(OperationFilter operationFilter);

	public void updateOperation(Operation operation);
}